package cn.wolfcode.trip.base.query;

import cn.wolfcode.trip.base.domain.Travel;
import lombok.Getter;
import lombok.Setter;
import org.springframework.util.StringUtils;

import java.util.Date;

@Setter@Getter
public class TravelQueryObject extends QueryObject{

    private Long authorId;
    private Integer state= Travel.STATE_WAIT;   //默认查询待审核



    private Long travelId;      //查询从推荐界面跳转到游记发布界面时查询的数据

    private Integer type=-1;    //根据类型查询推荐游记
    private Date beginDate;     //开始时间
    private Date endDate;       //现在时间/从现在开始


}

